import { createApp } from 'vue'
import Antd from 'ant-design-vue'
import { createPinia } from 'pinia'

import './style/index.less'
import snowy from './snowy'
import { componentPlugin } from './views/plugin/dashboard/main'
import i18n from './locales'
import router from './router'
import App from './App.vue'
import './tailwind.css'
import './views/plugin/dashboard/assets/iconFont/iconfont.css'
import { GridLayout, GridItem } from 'grid-layout-plus'
const app = createApp(App)
app.use(createPinia())
app.use(router)
app.use(Antd)
app.use(i18n)
app.use(snowy)
componentPlugin(app)
app.component('GridLayout', GridLayout).component('GridItem', GridItem)
// 挂载app
app.mount('#app')
